package com.cloudsigns.factorymanager2.engineering.utils;

/**
 * Created by tony on 2018/3/9.
 */

public class EngineeringUtil {
    public static final String HOST = "http://test-fm.unisigns.vip:7777/";
    /*获取接收工单列表*/
    public static final String RECEIVE_ENGINEERING_ORDER_LIST_URL = HOST + "engineering/order/getEngineeringOrderList";
    public static final String HTTP_SUCCESSED_COD = "0";
    public static final String HTTP_SUCCESSED_COD1 = "200";
//    http://test-fm.unisigns.vip:7777/engineering/order/getEngineeringOrderList?token=
//    dependencies {
//        compile 'com.squareup.okhttp3:okhttp:3.2.0'
//        compile 'com.squareup.okio:okio:1.7.0'
//HttpClient httpclient = new DefaultHttpClient();
//    String uri = "http://www.yourweb.com";
//    HttpGet get = new HttpGet(uri);
//    //添加http头信息
//        get.addHeader("Authorization", "your token ");
//        get.addHeader("Content-Type", "application/json");
//        get.addHeader("User-Agent","your agent");
//    HttpResponse response;
//    response = httpclient.execute(get);
//    int code = response.getStatusLine().getStatusCode();
//    }

}
